package com.huike.clues.service.Impl;

import com.huike.clues.domain.TbClueTrackRecord;
import com.huike.clues.mapper.TbClueTrackRecordMapper;
import com.huike.clues.service.TbClueTrackRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@Slf4j
public class TbClueTrackRecordServiceImpl implements TbClueTrackRecordService {
    @Resource
    private TbClueTrackRecordMapper tbClueTrackRecordMapper;

    /**
     * 查询线索跟进记录列表
     *
     * @param clueId
     * @return
     */
    @Override
    public List<TbClueTrackRecord>  selectByClueId(Integer clueId) {
        return tbClueTrackRecordMapper.selectByClueId(clueId);
    }
}
